// 签约相关API

import { httpGet, httpPost, httpPut } from "@/utils/http";

// 获取 待处理签约 数据
export const searchSignsApi = (data?: object) => httpPost('/signs/search', data);

// 获取 一个签约详情 数据
export const getSignDetailApi = (data: object) => httpGet('/signs/detail', data);

// 获取 一个签约详情（完整版） 数据
export const getSignFullDetailApi = (data: object) => httpGet('/signs/fullDetail', data);

// 修改 签约数据
export const updateSignsApi = (data: object) => httpPut('/signs/update', data);

// 修改 签约状态
export const updateSignStateApi = (data: object) => httpPut('/signs/updateState', data);